import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class HelloWorld extends HttpServlet
{
  public void doGet(HttpServletRequest request, HttpServletResponse response)
  {
    try
     {
       PrintWriter out=response.getWriter();
       response.setContentType("text/html");
       
       out.println("<html>");
       out.println("<body bgcolor=yellow>");
       out.println("Hello World!");
       out.println("</body>");
       out.println("</html>");
     }catch(Exception e)
      {
         //out.println(e.toString());
      }
  }
}
